package cn.com.dcsgo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 会员评论信息
 *
 * @author Dcsgo
 * @since 2025/11/6 12:04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "会员评论信息")
public class ProdCommVO {
    /**
     * 评论ID
     */
    @Schema(description = "评论ID")
    private Long prodCommId;

    /**
     * 评论用户ID
     */
    @Schema(description = "评论用户ID")
    private String openId;

    /**
     * 评论内容
     */
    @Schema(description = "评论内容")
    private String content;

    /**
     * 掌柜回复
     */
    @Schema(description = "掌柜回复")
    private String replyContent;

    /**
     * 记录时间
     */
    @Schema(description = "记录时间")
    private Date createTime;

    /**
     * 得分，0-5分
     */
    @Schema(description = "得分，0-5分")
    private Integer score;

    /**
     * 晒图的json字符串
     */
    @Schema(description = "晒图的json字符串")
    private String pics;

    /**
     * 是否匿名(1:是  0:否)
     */
    @Schema(description = "是否匿名(1:是  0:否)")
    private Integer isAnonymous;

    /**
     * 评价(0 好评 1中评 2差评)
     */
    @Schema(description = "评价(0好评 1中评 2差评)")
    private Integer evaluate;

    /**
     * 评论用户昵称
     */
    @Schema(description = "评论用户昵称")
    private String nickName;

    /**
     * 评论用户头像图片路径
     */
    @Schema(description = "评论用户头像图片路径")
    private String pic;
}
